package cn.tedu.crm.refund.mapper;

import cn.tedu.crm.refund.pojo.dto.*;
import cn.tedu.crm.refund.pojo.entity.Refund;
import cn.tedu.crm.refund.pojo.vo.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RefundMapper {
    List<RefundVO> select(RefundQuery refundQuery);

    RefundVO selectById(Long id);

    ContractVO selectContract(Long id);

    DepositVO selectDeposit(Long id);

    CustomerVO selectCustomer(Long id);

    void saveStatus(Refund refund);

    void saveAudit1(SaveAudit1Param saveAudit1Param);

    void saveAudit2(SaveAudit2Param saveAudit2Param);

    void insertOrderId(Refund refund);

    UserNameVO selectUserName(long loginIdAsLong);
}
